package com.aipsi.cws.supplier.service;


import com.aipsi.cws.supplier.domain.Supplier;
import com.aipsi.cws.supplier.dvo.CommonVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 大忽悠
 * @since 2022年03月16日
 */
public interface ISupplierService extends IService<Supplier> {
        Supplier getOne(String supplierName);
        List<Supplier> getSuppliers(CommonVO commonVO);
        List<Supplier> getSuppliersVagued(String supplierNameVagued, String legalPersonVagued, String phoneNumberVagued, CommonVO commonVO);

        Boolean remove(String suppplierName);

        Boolean putSupplier(Supplier supplier);

        boolean save(Supplier entity);
}
